import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import Wu from './pages/Wu';
import FavoriteList from './pages/FavoriteList';

function App() {
  return (
    <Router>
      <Switch>
        <Route path="/" exact component={Wu} />
        <Route path="/favorites" component={FavoriteList} />
      </Switch>
    </Router>
  );
}

export default App; 